const mysql = require("mysql2")
// 链接
const connection = mysql.createConnection({
    host: '47.106.135.2',
    user: 'nodekkb01',
    password: 'nodekkb01',
    database: 'nodekkb01'
});

connection.query('SELECT * FROM `user`', function (err, results, fields) {
    console.log(results);
});
